<template>
  <div>
    <h2>商品相关信息</h2>
      <div>
        <div>商品id: <strong>{{obj.goodInfo.goodNo}}</strong></div>
        <div>商品名称: <strong>{{obj.goodInfo.goodName}}</strong></div>
        <div>商品描述: <slot name="desc" :good="obj.goodInfo"></slot></div>
      </div>
  </div>
</template>

<script>
export default {
  props: {
    obj: {
      type: Object,
      required: true
      // default: () => ({})
    }
  },
  name: 'GoodsCom',
  data () {
    return {}
  },
  methods: {}
}
</script>

<style scoped lang='less'></style>
